package com.charles.bigdata.common.spark;

import java.io.Serializable;

import org.apache.spark.api.java.JavaSparkContext;

public abstract class SparkJob implements Serializable {

	private static final long serialVersionUID = -3926314014315260770L;

	protected SparkJob() {
	}

	/**
	 * 带参数
	 */
	public void execute(JavaSparkContext javaSparkContext, String[] args) {
	}

	/**
	 * 不带参数
	 */
	public void execute(JavaSparkContext javaSparkContext) {
	}
}
